package com.len.mapper;

import com.len.base.BaseMapper;
import com.len.entity.TTaskDetails;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TaskDetailsMapper extends BaseMapper<TTaskDetails,String> {

    @Select(" select * from t_task_details where order_no = #{orderNo}")
    List<TTaskDetails> selectAllByOrderNo(String orderNo);

    @Select(" delete from t_task_details where order_no = #{orderNo}")
    void delAllByOrderNo(String orderNo);
}
